package com.yidu.domain;

import java.sql.Date;
import java.util.List;

/**
 * <p>@Description: No Description</p>
 * <p>@Author yidu-liandyao</p>
 * <p>@Date: 2021-01-07</p>
 * <p>@Time: 8:39</p>
 */
public class TClass {
    private Integer cid ;
    private String cname ;
    private Date open ;
    //老师的外键  association
    private Teacher teacher ;
    //学生的集合 collection
    private List<TStudent> students ;

    public List<TStudent> getStudents() {
        return students;
    }

    public void setStudents(List<TStudent> students) {
        this.students = students;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Date getOpen() {
        return open;
    }

    public void setOpen(Date open) {
        this.open = open;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }
}
